package com.abel.roommanager.util;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Page<T> {
 private int index; //查询的起始位置
 private int count; //每页查询条数
 private int total; //总条数
 private int currentPage; //当前页码
 private List<T> data; //当前页的所有数据
 private String url;//分页跳转地址
 private int nextPage;//下一页
 private int prevPage;//上一页
 private int totalSize;//总页码数
 
}
